package com.lwp.ctable.service.serviceImp;

import com.lwp.ctable.model.Image;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ImageService{


    int deleteByPrimaryKey(Long id);

    int insert(Image record);

    int insertSelective(Image record);

    Image selectByPrimaryKey(Long id);

    List<Image> selectByUserId(Long userId, Long start, Long sum);

    List<Image> selectByUserId(Long userId);

    int updateByPrimaryKeySelective(Image record);

    int updateByPrimaryKey(Image record);

}
